package com.zmj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_web_log")
public class WebLog {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String ip;

    private String method;

    private String uri;

    @TableField("class_str")
    private String classStr;

    @TableField("request_type")
    private String requestType;

    @TableField("request_json")
    private String requestJson;

    @TableField("response_json")
    private String responseJson;

    @TableField("time_consuming")
    private Long timeConsuming;

    @TableField("create_time")
    private Date create_time;

    @TableField("update_time")
    private Date update_time;


}
